import { IsOptional, IsString, IsDateString } from "class-validator";

/**
 * 监控统计查询DTO
 */
export class MonitoringStatsDto {
  @IsOptional()
  @IsDateString()
  startDate?: string;

  @IsOptional()
  @IsDateString()
  endDate?: string;

  @IsOptional()
  @IsString()
  userId?: string;

  @IsOptional()
  @IsString()
  pageUrl?: string;
}